package com.shifan.phone.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.shifan.phone.common.Page;

/**
 * 订单模型
 * 
 * @author TangLei
 * @date 2018年12月14日 下午6:27:31
 * @version 1.0
 */
public class OrderModel implements Serializable {
	/**
	 * 订单ID
	 */
    private String ordersId;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 地址ID
     */
    private String addressId;

    /**
     * 订单编号
     */
    private String ordersCode;

    /**
     * 订单数量
     */
    private Integer ordersNumber;

    /**
     * 订单日期
     */
    private String ordersDate;

    /**
     * 订单总金额
     */
    private BigDecimal ordersSummoney;

    /**
     * 订单状态1、代付款 2、代发货3、待收货4、已完成
     */
    private Integer ordersState;

    /**
     * 是否有效
     */
    private Integer isva;

    /**
     * 操作时间
     */
    private Date optime;

    /**
     * 操作人
     */
    private String oper;

    /**
     * 排序
     */
    private Integer sort;
    
    /**
     * 分页对象
     */
    private Page pages;
    
    /**
     * 用户名称
     */
    private String userName;
    
    /**
     * 地址
     */
    private String detailAddress;
    
    /**
     * 产品名称
     */
    private String proName;
    
    /**
     * 产品单价
     */
    private String proPrice;
    
    /**
     * 图片
     */
    private String imgPath;
    
    /**
     * 产品ID
     */
    private String proId;

    private static final long serialVersionUID = 1L;

    public String getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(String ordersId) {
        this.ordersId = ordersId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public String getOrdersCode() {
        return ordersCode;
    }

    public void setOrdersCode(String ordersCode) {
        this.ordersCode = ordersCode;
    }

    public Integer getOrdersNumber() {
        return ordersNumber;
    }

    public void setOrdersNumber(Integer ordersNumber) {
        this.ordersNumber = ordersNumber;
    }

    public String getOrdersDate() {
        return ordersDate;
    }

    public void setOrdersDate(String ordersDate) {
        this.ordersDate = ordersDate;
    }

    public BigDecimal getOrdersSummoney() {
        return ordersSummoney;
    }

    public void setOrdersSummoney(BigDecimal ordersSummoney) {
        this.ordersSummoney = ordersSummoney;
    }

    public Integer getOrdersState() {
        return ordersState;
    }

    public void setOrdersState(Integer ordersState) {
        this.ordersState = ordersState;
    }

    public Integer getIsva() {
        return isva;
    }

    public void setIsva(Integer isva) {
        this.isva = isva;
    }

    public Date getOptime() {
        return optime;
    }

    public void setOptime(Date optime) {
        this.optime = optime;
    }

    public String getOper() {
        return oper;
    }

    public void setOper(String oper) {
        this.oper = oper;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

	public Page getPages() {
		return pages;
	}

	public void setPages(Page pages) {
		this.pages = pages;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getDetailAddress() {
		return detailAddress;
	}

	public void setDetailAddress(String detailAddress) {
		this.detailAddress = detailAddress;
	}

	public String getProName() {
		return proName;
	}

	public void setProName(String proName) {
		this.proName = proName;
	}

	public String getProPrice() {
		return proPrice;
	}

	public void setProPrice(String proPrice) {
		this.proPrice = proPrice;
	}

	public String getImgPath() {
		return imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}

	public String getProId() {
		return proId;
	}

	public void setProId(String proId) {
		this.proId = proId;
	}
    
}